/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.excesys.exsecs.om.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 运维管理知识表
 *
 * @author weiyj
 * @date 2023-02-24 13:53:35
 */
@Data
@TableName("om_o_knowledge")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "运维管理知识表")
public class OmOKnowledge  extends Model<OmOKnowledge> {

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	@Schema(description = "主键")
	private Integer kwId;

	/**
	 * 知识分类
	 */
	@Schema(description = "知识分类")
	private String knwlType;

	/**
	 * 知识来源
	 */
	@Schema(description = "知识来源")
	private String knwlSource;

	/**
	 * 服务目录
	 */
	@Schema(description = "服务目录")
	private String serverIndex;

	/**
	 * 标题
	 */
	@Schema(description = "标题")
	private String knwlTitle;

	/**
	 * 内容
	 */
	@Schema(description = "内容")
	private String knwlContent;

	/**
	 * 附件
	 */
	@Schema(description = "附件")
	private String knwlFile;

	/**
	 * 提供人id
	 */
	@Schema(description = "提供人部门id")
	private Long provideUserDeptId;

	/**
	 * 提供人id
	 */
	@Schema(description = "提供人id")
	private Long provideUserId;

	/**
	 * 提供人姓名
	 */
	@Schema(description = "提供人姓名")
	private String provideUserName;

	/**
	 * 提供人手机号
	 */
	@Schema(description = "提供人手机号")
	private String provideUserPhone;

	/**
	 * 审核人
	 */
	@Schema(description = "审核人")
	private Long reviewUserId;

	/**
	 * 审核状态
	 */
	@Schema(description = "审核状态")
	private String reviewStatus;

	/**
	 * 审核时间
	 */
	@Schema(description = "审核时间")
	private String reviewTime;

	/**
	 * 创建人
	 */
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="更新时间")
	private LocalDateTime updateTime;


}
